<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xn="http://www.renren.com/2009/xnml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="{{ staticUrl }}/img/favicon.ico" rel="itgeeker favorite icon" type="image/x-icon" />
    <link href="{{ staticUrl }}/css/layout.css?ver={{ cssVersion }}" rel="stylesheet" type="text/css" media="all" />
    <link href="{{ staticUrl }}/css/login.css?ver={{ cssVersion }}" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="http://static.connect.renren.com/js/v1.0/FeatureLoader.jsp"></script>
    <title>ITGeeker——专业的IT技术交流站点！</title>
</head>
<body>
    {% include "inc/top_bar.inc" %}
    <div class="content_wrapper">
        <div id="content" class="content" style="height:400px;">
            <div class="login_left">
                <span class="login_left_content">
                    <br/>
                    <br/>
                    <p><a href="/">ITGeeker</a>——专业的IT技术交流站点！这里是退出页面。</p>
                    <p><strong>系统检测到你正在退出过程中，请稍等。。。</strong></p>
                    <p>本站同时是一个与<a target="_blank" href="http://renren.com">人人网</a>连接过的站点（参见<a target="_blank" href="http://wiki.dev.renren.com/wiki/Renren_Connect">人人连接</a>），因此，在本站发表文章，需要使用你的<a target="_blank" href="http://renren.com">人人网</a>帐号登录。</p>
                </span>
            </div>
            <div style="clear:both"></div>
        </div>
    </div>
    {% include "inc/footer.inc" %}
    <script type="text/javascript">
        XN_RequireFeatures(["Connect"], function(){
            XN.Main.init("{{ api_key }}", "/channel/xd_receiver.html");
            XN.Connect.get_status().waitUntilReady(function (login_state) {
                if (login_state == XN.ConnectState.connected) {
                    XN.Connect.logout(function () {
                        window.location = '{{ callback_url }}';
                    });
                }
                else {
                    window.location = '{{ callback_url }}';
                }
            });
        });
    </script>
</body>
</html>
